package service;

import org.apache.ibatis.annotations.Param;
import pojo.Admin;

;import java.util.List;

public interface AdminService {
    Admin adminLogin(@Param("adminId")int adminId);

    List<Admin> selectWebAdmin();

    //删除单个
    int delete(@Param("adminId")int adminId);

    //删除多个
    int deletes(int[] adminIds);

    int insert(Admin admin);

    //修改资料
    int updateAdmin(Admin admin);

    //修改密码
    int updateAdminpwd(Admin admin);
}
